libxl: libxl__qmp_migrate
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 1 Dec 2011 18:09:42 +0000 (18:09 +0000)
committerAnthony PERARD <anthony.perard@citrix.com>
Thu, 1 Dec 2011 18:09:42 +0000 (18:09 +0000)
commitcad46912ccfd2bd082d5ca9b93accff4ab1acc3a
treee5ba501a922abd3d03125f8cfdca8ada675fd98b
parent5ca4745339164c9c3fb3f3c353a25ed11fe3616f
libxl: libxl__qmp_migrate

This command works in two steps. First, a fd is sent to QEMU through the QMP
socket. And then, the second command "migrate" use the fd previously sent to
ask QEMU to save its states.

This comes with an alternative qmp_send function that can send a fd.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/libxl/libxl_internal.h
tools/libxl/libxl_qmp.c